//
//  HSRefreshGifHeader.m
//  XLDoctor
//
//  Created by longma on 2018/9/30.
//  Copyright © 2018年 XLH. All rights reserved.
//

#import "MJUIRefreshFooter.h"

@implementation MJUIRefreshFooter

#pragma mark - 重写父类的方法
- (void)prepare{
    [super prepare];
    
    [self setTitle:@"加载中..." forState:MJRefreshStateIdle];
    [self setTitle:@"加载中..." forState:MJRefreshStatePulling];
    [self setTitle:@"加载中..." forState:MJRefreshStateRefreshing];
    [self setTitle:@"呀~到底啦！" forState:MJRefreshStateNoMoreData];

    // 设置颜色
    self.stateLabel.textColor = UIColor.mj_grayColor;
    self.stateLabel.font = [UIFont systemFontOfSize:12];
//    //是否显示最近一次刷新时间
//    self.lastUpdatedTimeLabel.hidden = YES;
//    //在导航栏下是否自动切换透明度
//    self.automaticallyChangeAlpha = true;

    // 设置偏移量
//    self.triggerAutomaticallyRefreshPercent = -[AppearanceManager safeAreaBottom];

}


@end
